//
//  AcitvityModel.m
//  DSYDouban
//
//  Created by dllo on 15/12/31.
//  Copyright © 2015年 lanou3g. All rights reserved.
//

#import "ActivityModel.h"

@implementation ActivityModel

- (void)dealloc
{
    [_adapt_url release];
    [_address release];
    [_album release];
    [_alt release];
    [_begin_time release];
    [_can_invite release];
    [_category release];
    [_category_name release];
    [_content release];
    [_end_time release];
    [_geo release];
    [_hasTicket release];
    [_activityId release];
    [_image release];
    [_image_hlarge release];
    [_image_lmobile release];
    [_loc_id release];
    [_loc_name release];
    [_owner release];
    [_participant_count release];
    [_photos release];
    [_title release];
    [_wisher_count release];
    
    [super dealloc];
}

+ (ActivityModel *)activityModel
{
    return [[[ActivityModel alloc] init] autorelease];
}

- (void)setValue:(id)value forUndefinedKey:(NSString *)key
{
    if ([key isEqualToString:@"id"]) {
        self.activityId = value;
    }
}

- (id)valueForUndefinedKey:(NSString *)key
{
    return self;
}

@end
